import { MockMethod } from 'vite-plugin-mock';

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const element = [
  'platformHome:index:subscription',
  'platformHome:index:onboard',
  'tenantCenter:enterprise:enterpriseManagement:show',
  'tenantCenter:enterprise:enterpriseManagement:auth',
  'tenantCenter:enterprise:enterpriseManagement:add',
  'tenantCenter:enterprise:enterpriseManagement:detail',
  'tenantCenter:enterprise:enterpriseManagement:update',
  'tenantCenter:organizationMgmt:organization:add',
  'tenantCenter:organizationMgmt:organization:addByParent',
  'tenantCenter:organizationMgmt:organization:update',
  'tenantCenter:organizationMgmt:organization:delete',
  'tenantCenter:organizationMgmt:user:add',
  'tenantCenter:organizationMgmt:user:detail',
  'tenantCenter:organizationMgmt:user:update',
  'tenantCenter:organizationMgmt:user:updatePass',
  'tenantCenter:organizationMgmt:user:delete',
  'tenantCenter:authorityMgmt:role:add',
  'tenantCenter:authorityMgmt:role:detail',
  'tenantCenter:authorityMgmt:role:delete',
  'tenantCenter:authorityMgmt:role:update',
  'tenantCenter:enterprise:enterpriseAppAuth:createTenantAppAuth',
  'tenantCenter:enterprise:enterpriseAppAuth:updateTenantAppAuth',
  'tenantCenter:enterprise:enterpriseAppAuth:deleteTenantAppAuth',
  'tenantCenter:enterprise:enterpriseAppManagement:renew',
  'tenantCenter:enterprise:enterpriseAppManagement:freeze',
  'tenantCenter:enterprise:enterpriseAppManagement:unfreeze',
  'tenantCenter:enterprise:enterpriseAppManagement:audit',
  'tenantCenter:enterprise:enterpriseAdmin:update',
  'deploymentCenter:task:detail',
  'upgradeCenter:task:create',
  'upgradeCenter:task:rollBack',
  'upgradeCenter:task:update',
  'upgradeCenter:task:detail',
  'upgradeCenter:datastore:upload',
  'upgradeCenter:datastore:detail',
  'upgradeCenter:datastore:execute',
  'upgradeCenter:datastore:delete',
  'upgradeCenter:grayscale:linkManagement:create',
  'upgradeCenter:grayscale:linkManagement:detail',
  'upgradeCenter:grayscale:linkManagement:update',
  'upgradeCenter:grayscale:linkManagement:delete',
  'upgradeCenter:grayscale:ruleManagement:create',
  'upgradeCenter:grayscale:ruleManagement:detail',
  'upgradeCenter:grayscale:ruleManagement:update',
  'upgradeCenter:grayscale:ruleManagement:active',
  'upgradeCenter:grayscale:ruleManagement:delete',
  'upgradeCenter:grayscale:tagManagement:update',
  'upgradeCenter:package:upgrade',
  'maintenanceCenter:microserviceGovern:addBusiness',
  'maintenanceCenter:microserviceGovern:updateBusiness',
  'maintenanceCenter:microserviceGovern:businessDetail',
  'maintenanceCenter:microserviceGovern:deleteBusiness',
  'maintenanceCenter:microserviceGovern:addGovernance',
  'maintenanceCenter:microserviceGovern:updateGovernance',
  'maintenanceCenter:microserviceGovern:activeGovernance',
  'maintenanceCenter:microserviceGovern:deleteGovernance',
  'maintenanceCenter:microserviceGovern:governanceDetail',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:cceList',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:cceDetail',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:rdsList',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:rdsDetail',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:dcsList',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:dcsDetail',
  'maintenanceCenter:resourceMonitor:resourceMonitorForPlatform:cseList',
  'maintenanceCenter:resourceMonitor:resourceMonitorForTenant:detail',
  'maintenanceCenter:messageNotification:messageTheme:addTheme',
  'maintenanceCenter:messageNotification:messageTheme:addSubscription',
  'maintenanceCenter:messageNotification:messageTheme:detail',
  'maintenanceCenter:messageNotification:messageTheme:update',
  'maintenanceCenter:messageNotification:messageTheme:delete',
  'maintenanceCenter:messageNotification:messageSubscription:add',
  'maintenanceCenter:messageNotification:messageSubscription:request',
  'maintenanceCenter:messageNotification:messageSubscription:delete',
  'maintenanceCenter:alarm:alarmRule:cceAdd',
  'maintenanceCenter:alarm:alarmRule:cceUpdate',
  'maintenanceCenter:alarm:alarmRule:cceDetail',
  'maintenanceCenter:alarm:alarmRule:cceDelete',
  'maintenanceCenter:alarm:alarmRule:cseAdd',
  'maintenanceCenter:alarm:alarmRule:cseUpdate',
  'maintenanceCenter:alarm:alarmRule:cseDetail',
  'maintenanceCenter:alarm:alarmRule:cseDelete',
  'maintenanceCenter:alarm:eventMonitoring:detali',
  'maintenanceCenter:resourceMonitor:skywalking:profiling:add',
  'maintenanceCenter:logMonitor:operationLog:queryLog',
  'maintenanceCenter:logMonitor:systemLog:querySystemLog',
  'operationCenter:tenantOperation:sourceAnalysis:subConversion',
  'operationCenter:tenantOperation:sourceAnalysis:industryDis',
  'operationCenter:tenantOperation:sourceAnalysis:addressDis',
  'operationCenter:tenantOperation:sourceAnalysis:sourceDis',
  'operationCenter:tenantOperation:userActivityAnalysis:appPackageSub',
  'operationCenter:tenantOperation:userActivityAnalysis:activeUsersByTenant',
  'operationCenter:tenantOperation:userActivityAnalysis:activeUsersStatistic',
  'operationCenter:tenantOperation:appSubscriptionAnalysis:appAnalysisByTenant',
  'operationCenter:tenantOperation:appSubscriptionAnalysis:appProportion',
  'operationCenter:tenantOperation:appSubscriptionAnalysis:getAppStatistic',
  'operationCenter:tenantOperation:appSubscriptionAnalysis:getAppRenewOrUnsubRate',
  'operationCenter:appOperation:subscriptionAnalysis:getTenantMaturityAna',
  'operationCenter:appOperation:subscriptionAnalysis:getAppActiveUsersSummary',
  'operationCenter:appOperation:subscriptionAnalysis:getAppActiveUsersByTenant',
  'operationCenter:appOperation:subscriptionAnalysis:getAppActiveUsersByArc',
  'operationCenter:appOperation:functionAnalysis:getTotalClickNums',
  'operationCenter:appOperation:functionAnalysis:getAverageClickNums',
  'operationCenter:appOperation:functionAnalysis:getAverageNumsComparison',
  'operationCenter:appOperation:functionAnalysis:getDailyNumsComparison',
  'measurementCenter:measurementSdr:detail',
  'measurementCenter:functionStatistic:interface',
  'measurementCenter:functionStatistic:interfaceDetail',
  'measurementCenter:functionStatistic:tenant',
  'measurementCenter:functionStatistic:tenantDetail',
  'measurementCenter:sourceStatistic:detail',
  'measurementCenter:userStatistic:onlineUserDataView',
  'measurementCenter:userStatistic:totalUserDataView',
  'integratedCenter:cmOrderAction:detail',
  'systemMgmt:appMgmt:onBoard',
  'systemMgmt:appMgmt:moduleManagment',
  'systemMgmt:appMgmt:appManagement',
  'systemMgmt:appMgmt:thirdAppConfiguration',
  'systemMgmt:instanceMgmt:add',
  'systemMgmt:instanceMgmt:update',
  'systemMgmt:instanceMgmt:ecsSpecConfiguration',
  'systemMgmt:instanceMgmt:delete',
  'systemMgmt:authorizationMgmt:auth',
  'systemMgmt:sourceMgmt:add',
  'systemMgmt:sourceMgmt:update',
  'systemMgmt:sourceMgmt:test',
  'systemMgmt:sourceMgmt:delete',
  'systemMgmt:vpcMgmt:vpcInfo',
  'systemMgmt:vpcMgmt:subnetInfo',
  'systemMgmt:vpcMgmt:securityGroupInfo',
  'systemMgmt:fileSystemSizeMgmt:add',
  'systemMgmt:fileSystemSizeMgmt:update',
  'systemMgmt:fileSystemSizeMgmt:delete',
  'systemMgmt:iamAccount:update',
  'systemMgmt:appMgmt:updateApp',
  'systemMgmt:appMgmt:updateLogo',
  'systemMgmt:appMgmt:getAppDetail',
  'systemMgmt:appMgmt:componentMgmt',
  'systemMgmt:appMgmt:componentImageMgmt',
  'systemMgmt:appMgmt:addComponent',
  'systemMgmt:appMgmt:addImage',
  'systemMgmt:appMgmt:changePackageStatus',
  'systemMgmt:appResourceMgmt:addRootNode',
  'systemMgmt:appResourceMgmt:addResource',
  'systemMgmt:appResourceMgmt:updateResource',
  'systemMgmt:appResourceMgmt:deleteResource',
  'systemMgmt:appResourceMgmt:addApi',
  'systemMgmt:appResourceMgmt:updateInterface',
  'systemMgmt:appResourceMgmt:deleteInterface',
  'systemMgmt:systemConfig:editDomainConfig',
  'systemMgmt:systemConfig:updateCertificate',
  'systemMgmt:systemConfig:uploadLogo',
  'systemMgmt:systemConfig:editTenantName',
  'systemMgmt:appDomainMgmt:detail',
  'platformQuitApp',
];
export default [
  {
    url: '/api/admin/saaslanding-authority/v1/user/menu/accessibleForElement',
    timeout: 1000,
    method: 'get',
    response: () => {
      return {
        code: 0,
        data: element,
        isSuccess: true,
      };
    },
  },
] as MockMethod[];
